<template>
    <div class="popUpLayer">
        <div class="title-block">
            <div class="icon-part" @click="handleClick">
                <slot name='left'></slot>
            </div>
            <div class="name-part">
                <slot name='center'></slot>
            </div>
            <div class="other-part">
                <slot name='right'></slot>
            </div>
        </div>
        <div class="content-block">
            <slot name="content"></slot>
        </div>
    </div>
</template>
<script>
    export default {
        props:['isShow'],
        methods:{
            handleClick(){
                this.$emit('closePages')
            }
        }
    }
</script>
